package com.qmgyl.marketshop.vo;


import java.math.BigDecimal;

import com.qmgyl.marketshop.vo.Sku;

/**
 * <p>
 * 订单详情
 * </p>
 *
 * @author xiaowei
 * @since 2018-05-02
 */
public class OrderItem{


	private Long id;
    /**
     * 订单主表外键
     */
	private Long orderId;
	private Integer ssuId;
	private Integer skuId;
	private Integer spuId;
	private Integer c1Id;
	private Integer c2Id;
	private Integer c3Id;
	private String c1Name;
	private String c2Name;
	private String c3Name;
    /**
     * sku名称
     */
	private String skuName;
    /**
     * 规格
     */
	private String skuFormat;
    /**
     * 等级
     */
	private String skuLevel;
    /**
     * 单位
     */
	private String skuUnit;
    /**
     * sku计价单位
     */
	private String skuPriceUnit;
    /**
     * ssu名称
     */
	private String ssuName;
    /**
     * ssu规格
     */
	private String ssuFormat;
    /**
     * ssu品牌
     */
	private String ssuBrand;
    /**
     * 下单ssu数量
     */
	private Integer num;
    /**
     * ssu单价（不含包装物）
     */
	private BigDecimal price;
    /**
     * 单个ssu对应sku数量
     */
	private Integer unitSkuNum;
    /**
     * 单个ssu对应sku数量
     */
	private Integer unitSpuNum;
    /**
     * 物理单位包含计价单位的数量
     */
	private Integer unitPriceNum;
    /**
     * 计价单位价格
     */
	private BigDecimal unitPrice;
    /**
     * 总优惠金额
     */
	private BigDecimal totalDiscount;
    /**
     * 优惠券优惠金额
     */
	private BigDecimal couponDiscount;
    /**
     * 促销优惠金额
     */
	private BigDecimal promotionDiscount;
    /**
     * 促销优惠金额
     */
	private Integer promotionId;
    /**
     * 0未参加活动,1满赠,2买赠,3直降,4秒杀,5限购
     */
	private Integer promotionType;
	private Integer cT;
	private Integer uT;
	private Integer isDeleted;
    /**
     * 包装物id
     */
	private Integer packageId;
    /**
     * 商品物理数量
     */
	private Integer goodsNum;
    /**
     * 商品计价单位数量
     */
	private BigDecimal goodsPriceNum;
    /**
     * 商品总的金额
     */
	private BigDecimal goodsAmount;
	private Long companyId;
	private Integer shopId;
	
	private Sku sku;

	public Sku getSku() {
		return sku;
	}

	public void setSku(Sku sku) {
		this.sku = sku;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Integer getSsuId() {
		return ssuId;
	}

	public void setSsuId(Integer ssuId) {
		this.ssuId = ssuId;
	}

	public Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(Integer skuId) {
		this.skuId = skuId;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public Integer getC1Id() {
		return c1Id;
	}

	public void setC1Id(Integer c1Id) {
		this.c1Id = c1Id;
	}

	public Integer getC2Id() {
		return c2Id;
	}

	public void setC2Id(Integer c2Id) {
		this.c2Id = c2Id;
	}

	public Integer getC3Id() {
		return c3Id;
	}

	public void setC3Id(Integer c3Id) {
		this.c3Id = c3Id;
	}

	public String getC1Name() {
		return c1Name;
	}

	public void setC1Name(String c1Name) {
		this.c1Name = c1Name;
	}

	public String getC2Name() {
		return c2Name;
	}

	public void setC2Name(String c2Name) {
		this.c2Name = c2Name;
	}

	public String getC3Name() {
		return c3Name;
	}

	public void setC3Name(String c3Name) {
		this.c3Name = c3Name;
	}

	public String getSkuName() {
		return skuName;
	}

	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}

	public String getSkuFormat() {
		return skuFormat;
	}

	public void setSkuFormat(String skuFormat) {
		this.skuFormat = skuFormat;
	}

	public String getSkuLevel() {
		return skuLevel;
	}

	public void setSkuLevel(String skuLevel) {
		this.skuLevel = skuLevel;
	}

	public String getSkuUnit() {
		return skuUnit;
	}

	public void setSkuUnit(String skuUnit) {
		this.skuUnit = skuUnit;
	}

	public String getSkuPriceUnit() {
		return skuPriceUnit;
	}

	public void setSkuPriceUnit(String skuPriceUnit) {
		this.skuPriceUnit = skuPriceUnit;
	}

	public String getSsuName() {
		return ssuName;
	}

	public void setSsuName(String ssuName) {
		this.ssuName = ssuName;
	}

	public String getSsuFormat() {
		return ssuFormat;
	}

	public void setSsuFormat(String ssuFormat) {
		this.ssuFormat = ssuFormat;
	}

	public String getSsuBrand() {
		return ssuBrand;
	}

	public void setSsuBrand(String ssuBrand) {
		this.ssuBrand = ssuBrand;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getUnitSkuNum() {
		return unitSkuNum;
	}

	public void setUnitSkuNum(Integer unitSkuNum) {
		this.unitSkuNum = unitSkuNum;
	}

	public Integer getUnitSpuNum() {
		return unitSpuNum;
	}

	public void setUnitSpuNum(Integer unitSpuNum) {
		this.unitSpuNum = unitSpuNum;
	}

	public Integer getUnitPriceNum() {
		return unitPriceNum;
	}

	public void setUnitPriceNum(Integer unitPriceNum) {
		this.unitPriceNum = unitPriceNum;
	}

	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public BigDecimal getTotalDiscount() {
		return totalDiscount;
	}

	public void setTotalDiscount(BigDecimal totalDiscount) {
		this.totalDiscount = totalDiscount;
	}

	public BigDecimal getCouponDiscount() {
		return couponDiscount;
	}

	public void setCouponDiscount(BigDecimal couponDiscount) {
		this.couponDiscount = couponDiscount;
	}

	public BigDecimal getPromotionDiscount() {
		return promotionDiscount;
	}

	public void setPromotionDiscount(BigDecimal promotionDiscount) {
		this.promotionDiscount = promotionDiscount;
	}

	public Integer getPromotionId() {
		return promotionId;
	}

	public void setPromotionId(Integer promotionId) {
		this.promotionId = promotionId;
	}

	public Integer getPromotionType() {
		return promotionType;
	}

	public void setPromotionType(Integer promotionType) {
		this.promotionType = promotionType;
	}

	public Integer getCT() {
		return cT;
	}

	public void setCT(Integer cT) {
		this.cT = cT;
	}

	public Integer getUT() {
		return uT;
	}

	public void setUT(Integer uT) {
		this.uT = uT;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getPackageId() {
		return packageId;
	}

	public void setPackageId(Integer packageId) {
		this.packageId = packageId;
	}

	public Integer getGoodsNum() {
		return goodsNum;
	}

	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	public BigDecimal getGoodsPriceNum() {
		return goodsPriceNum;
	}

	public void setGoodsPriceNum(BigDecimal goodsPriceNum) {
		this.goodsPriceNum = goodsPriceNum;
	}

	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	public Integer getcT() {
		return cT;
	}

	public void setcT(Integer cT) {
		this.cT = cT;
	}

	public Integer getuT() {
		return uT;
	}

	public void setuT(Integer uT) {
		this.uT = uT;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}


}
